home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': '',
- 'Copyright': '',
- 'Description': ''
- }
-
- def Swatch_SetMaterial():
- return {
- 'IsPrimary': App.Constants.Boolean.true,
- 'NewMaterial': {
- 'Color': None,
- 'Pattern': None,
- 'Gradient': {
- 'Name': 'Metallic silver',
- 'GradientType': App.Constants.GradientType.Linear,
- 'Angle': 0.000000,
- 'RepeatCount': 0,
- 'RepeatType': App.Constants.RepeatType.Pad,
- 'ColorStops': None,
- 'TransparencyStops': [],
- 'CenterPoint': None,
- 'FocalPoint': None,
- 'Invert': App.Constants.Boolean.false
- },
- 'Texture': None
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'SetMaterial', Swatch_SetMaterial())
-
-